﻿<!DOCTYPE HTML>
<html lang="en">

	<head>
		<!--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />-->
		<!--<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">-->
		<meta charset="utf-8" />
		<title>现场照片</title>
		<link rel="stylesheet" href="jquery-easyui-1.5.3/themes/default/easyui.css">
		<link href="jquery-easyui-1.5.3/themes/icon.css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="css/xct.css" />
		<script type="text/javascript" src="jquery-easyui-1.5.3/jquery.min.js"></script>
		<script type="text/javascript" src="jquery-easyui-1.5.3/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="jquery-easyui-1.5.3/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="font_jjkmvgsdpk/iconfont.js"></script>
		<link rel="stylesheet" href="font_jjkmvgsdpk/iconfont.css">
		<script src="font_5orzif3vv0i/iconfont.js"></script>
		<script>
			$(function() {

				//调用layout的panel方法，获取对应区域对象
				var center = $("body").layout("panel", "center");
				$("#menu").tree({
					onSelect: function(node) {
						//调用panelrefresh方法，重新加载面板内容
						center.panel("refresh", node.url);
					},
					onLoadSuccess: function(node, data) {
						if(data.length > 0) {
							//找到第一个元素
							var n = $("#menu").tree('find', data[0].id);
							//调用选中事件
							$("#menu").tree('select', n.target);
							$('#menu').find("span.tree-icon").removeClass('tree-icon tree-folder tree-folder-open');
							$('#menu').find("span.tree-hit").removeClass('tree-expanded');
							$('#menu').find("span.tree-file").removeClass('tree-file');
						}
					}
				});

			});
		</script>
	</head>

	<body class="easyui-layout">
		<div data-options="region:'north',split:false,collapsible:false" id="layout_north">
			<!--导航    -->

			<ul id="menu">
				<li  data-options="url: 'xianchangtu',">
					<div class="ww"><svg class="icon " aria-hidden="true ">
						<use xlink:href="#icon-shou "></use>
					</svg>现场图 </div></li>
				<li data-options="url:'xianchangtupian' ">
					<div class="ww"><svg class="icon " aria-hidden="true ">
						<use xlink:href="#icon-jiao "></use>
					</svg>现场照片</div></li>
			</ul>

		</div>
		<div data-options="region: 'center',title:'',href: 'xianchangtu'" id="layout_center" style="margin-top:3px ;">

		</div>

	</body>
</html>